Piwik\Http D

Total Complexity 188
Dependencies 15
Dependents 34
Total lines 1,122
Lines of code 677
Logical lines of code 379
Comment lines 267
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
sendHttpRequestBy()
D
0
132 456
downloadChunk()
A
38 12 70
convertWildcardToPattern()
S
55 5 19
getProxyConfiguration()
S
54 4 20
parseHeaderLine()
S
58 4 15
getClientHintsFromServerVariables()
S
60 4 13
getTransportMethod()
S
61 4 13
ensureDestinationDirectoryExists()
S
63 4 10
getModifiedSinceHeader()
S
63 3 10
configCurlCertificate()
S
65 2 9
getUserAgent()
S
72 2 5
sendHttpRequest()
S
65 2 7
truncateStr()
S
70 2 6
isCurlEnabled()
S
78 2 3
isUpdatingOverHttps()
S
72 2 5
buildQuery()
S
78 1 3
buildHeadersForPost()
S
72 1 5
isSocketEnabled()
S
80 1 3
fetchRemoteFile()
S
71 1 5